package com.zbf.auth.dxapi;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 作者: Mr.Wu
 * 日期: 2020/9/10
 * 描述:
 */
@FeignClient(value = "login-yzm")
@Component
public interface MsgApi {

    @RequestMapping(value = "/yzm/sendmsg",method = RequestMethod.POST)
    public  String getCode(@RequestParam("phone") String phone,@RequestParam("code") String code);


}
